<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" >
<meta charset="utf-8">
<head th:include="common/include :: header"></head>
<body class="gray-bg">
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <form class="form-horizontal m-t" id="signupForm">
            <div class="row">

                <!--第一列-->
                <div class="col-sm-6 b-r">

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">用户名：</label>
                        <div class="col-sm-8">
                            <input id="username" name="username" th:value="${log.username}" class="form-control" type="text">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">响应时间：</label>
                        <div class="col-sm-8">
                            <input id="time" name="time" th:value="${log.time}" class="form-control" type="text">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">创建时间：</label>
                        <div class="col-sm-8">
                            <input id="createTime" name="createTime" th:value="${log.createTime}" class="form-control" type="text">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">请求方法：</label>
                        <div class="col-sm-8">
                            <textarea id="method" name="method" rows="5" class="form-control" th:inline="text"> [[${log.method}]] </textarea>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button class="btn btn-danger"  icon="fa-eraser" onclick="fclose()">取消</button>
                        </div>
                    </div>
                </div>

                <!--第二列-->
                <div class="col-sm-6 b-r">

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">用户操作：</label>
                        <div class="col-sm-8">
                            <input id="operation" name="operation" th:value="${log.operation}" class="form-control" type="text">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">IP地址：</label>
                        <div class="col-sm-8">
                            <input id="ip" name="ip" th:value="${log.ip}" class="form-control" type="text">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">类型 ：</label>
                        <div class="col-sm-8">
                            <input id="type" name="type" th:value="${log.type}" class="form-control" type="text">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group" underline="true">
                        <label class="col-sm-3 control-label">详情：</label>
                        <div class="col-sm-8">
                            <textarea id="detail" name="detail" rows="5" class="form-control" th:inline="text"> [[${log.detail}]] </textarea>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                </div>
            </div>
        </form>
    </div>
</div>
<div th:include="common/include :: footer"></div>
<script type="text/javascript">
    function fclose() {
        var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
        parent.layer.close(index);
    }
</script>
</body>
</html>
